<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="box" style="width: 500px;margin: 50px auto">
<form role="form" action="/user" method="post">
  <div class="form-group">
    <label for="name">用户名</label>
    <input type="text" class="form-control" name="username" id="name" placeholder="请输入名称">
  </div>

  <div class="form-group">
    <label for="name">密码</label>
    <input type="password" class="form-control" name="password" id="name" placeholder="请输入名称">
  </div>

  <div class="form-group">
    <label for="name">确认密码</label>
    <input type="password" name="password_confirm" class="form-control" id="name" placeholder="请输入名称">
  </div>

  <div class="form-group">
    <label for="name">手机号</label>
    <input type="tel" class="form-control" name="tel" id="name" placeholder="请输入名称">
  </div>

  <div class="form-group">
  </label>
  <label class="radio-inline">
    <input type="radio" name="age" id="optionsRadios3" value="1" checked> 男
  </label>
  <label class="radio-inline">
    <input type="radio" name="age" id="optionsRadios4"  value="2"> 女
  </label>
</div>


  <div class="checkbox">
    <label class="checkbox-inline">
      <input type="checkbox" id="inlineCheckbox1" name="hobby[]" value="唱"> 唱
    </label>
    <label class="checkbox-inline">
      <input type="checkbox" id="inlineCheckbox2" name="hobby[]" value="跳"> 跳
    </label>
    <label class="checkbox-inline">
      <input type="checkbox" id="inlineCheckbox3" name="hobby[]" value="rep"> rep
  </div>
  <button type="submit" class="btn btn-default">提交</button>
</form>
</div>
</body>
</html>